import * as React from "react";
import { createRoot } from "react-dom/client";
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";

function FunctionComponent() {
  React.useEffect(() => {
    console.log("useEffect111");
  }, []);
  return <Test />;
}
function Test() {
  React.useEffect(() => {
    console.log("useEffect222");
  }, []);
  return <div>111</div>;
}
let element = <FunctionComponent />;
const root = createRoot(document.getElementById("root"));
root.render(element);
